(function(){
	var headLocalPath = window.location.href;
	if(headLocalPath.indexOf("gg=wps_pv") > 0){
		//包含（gg=wps_pv）
		var _hmt = _hmt || [];
		(function() {
			var hm = document.createElement("script");
			hm.src = "https://hm.baidu.com/hm.js?d22dc3a5459d80574b0291d9b13098f3";
			var s = document.getElementsByTagName("script")[0];
			s.parentNode.insertBefore(hm, s);
		})();
	}else{
        //不包含（gg=wps_pv）
		var _hmt = _hmt || [];
		(function() {
			var hm = document.createElement("script");
			hm.src = "//hm.baidu.com/hm.js?f1ca44b62370e4b7dc11d5937e51c2d6";
			var s = document.getElementsByTagName("script")[0];
			s.parentNode.insertBefore(hm, s);
		})();
		try {
			if(typeof _paq == 'undefined'){
				var strDomain= document.domain;
				var _paq = _paq || [];
				_paq.push(['trackPageView']);
				_paq.push(['setDocumentTitle', document.title]);
				_paq.push(['enableLinkTracking']);
				(function() {
					var u="//"+strDomain+"/js/analysis/";
					_paq.push(['setTrackerUrl', '//'+strDomain+'/images/analytics/'+'analytics.ico']);
					_paq.push(['setSiteId', 'www.chinaacc.com']);
					var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
					g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'analytics.js'; s.parentNode.insertBefore(g,s);
				})();
			}
		}
		catch(err){}
	}
})();

